package com.nsqt.biz.controller;

import com.nsqt.common.utils.Query;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.Map;

/**
 * 代理商
 */
@Controller
@RequestMapping("/biz/buser")
public class BuserController {

    @ResponseBody
    @RequestMapping(value = "/check")
    public String exports(HttpServletRequest request, HttpServletResponse response) {

        //查询列表数据
        Map map = new HashMap();
        map.put("limit", 10);
        map.put("offset", 20);
        Query query = new Query(map);

        String user = request.getParameter("user");
        String password = request.getParameter("password");

        return "yes";
    }


}
